<template>
    <div>
        <a-button @click="csHandle('出差')">出差</a-button>
        <a-button @click="csHandle('行政')">行政</a-button>
        <a-button @click="csHandle('加班')">加班</a-button>
        <a-button @click="csHandle('离岗')">离岗</a-button>
        <a-button @click="csHandle('请假')">请假</a-button>
        <a-button @click="csHandle('宣传')">宣传</a-button>
        <a-button @click="csHandle('会议室')">会议室</a-button>
        <daiban></daiban>
        <yiban></yiban>
        <modal ref="modal"></modal>
    </div>
</template>
<script>
import modal from '../modal/handleModal'
import daiban from '../daiBan/index'
import yiban from '../yiBan/index'
export default {
    components:{
        modal,daiban,yiban
    },
    data() {
        return {}
    },
    methods: {
        csHandle(type){
            this.$refs.modal.addClick(type)
        },
    }
}
</script>
